import { createRouter, createWebHashHistory } from 'vue-router'
import FileUpload from '@/views/pdf/FileUpload.vue'

export const routes = [
    {
        path: '/FileUpload',
        name: 'FileUpload',
        component: FileUpload,
        meta: {
            index: 1,
            title: '首页'
        }
    },
    {
        path: '/',
        redirect: '/FileUpload',
        meta: {
            title: '首页'
        }
    },
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router

